/**
 * 
 */
package xj.toolkit.netty.transport.endpoint;


import java.net.SocketAddress;

import xj.toolkit.base.Sender;
import xj.toolkit.netty.transport.Receiver;

/**
 * @author hp
 *
 */
public interface Endpoint<I> extends Sender<I>, Receiver<I> {
	
	public void stop();
	
	public String getProtocol();
	
	SocketAddress getRemoteAddress();
	
	SocketAddress getLocalAddress();
}
